home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_BallsAndBubbles_Rusty < prev    next >
Encoding:
Text File  |  2003-06-06  |  2.2 KB  |  70 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A very rusty ball',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 100, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (192,192,192), 
  20.                 'Direction': (0.0377249,0.110026,-0.993213), 
  21.                 'HighlightSize': 0
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (192,192,192), 
  25.                 'Direction': (-0.820144,-0.572157,0), 
  26.                 'HighlightSize': 0
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (255,255,255), 
  30.                 'Direction': (0.673384,0.739293,0), 
  31.                 'HighlightSize': 0
  32.                 }]
  33.             }, 
  34.         'Mode': App.Constants.CountType.Single, 
  35.         'Multiple': {
  36.             
  37.             }, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.true
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (92,50,29), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.true, 
  50.                 'Depth': -25, 
  51.                 'FileName': 'Rust', 
  52.                 'Fit': App.Constants.Boolean.true, 
  53.                 'Size': 100, 
  54.                 'Smoothness': 0
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.true, 
  58.                 'FileName': 'Rust', 
  59.                 'PatternOpacity': 100
  60.                 }, 
  61.             'Gloss': 0, 
  62.             'Opacity': 100, 
  63.             'Shininess': 0
  64.             }
  65.         }
  66.  
  67. def Do(Environment):
  68.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  69.  
  70.